package com.huiminpay.paymentagent.api.service;

import com.huiminpay.common.cache.domain.BusinessException;
import com.huiminpay.paymentagent.api.conf.AliConfigParam;
import com.huiminpay.paymentagent.api.dto.AlipayBean;
import com.huiminpay.paymentagent.api.dto.PaymentResponseDTO;

public interface IPayAgentService {
    /**
     * 调用支付手机网站支付
     * @param aliConfigParam
     * @param alipayBean
     * @return
     * @throws BusinessException
     */
    PaymentResponseDTO createPayOrderByAliWAP(AliConfigParam aliConfigParam, AlipayBean
            alipayBean) throws BusinessException;

    /**
     * 查询支付宝订单信息
     * @param aliConfigParam
     * @param tradeNo
     * @return
     * @throws BusinessException
     */
    PaymentResponseDTO queryAlipayOrderInfo(AliConfigParam aliConfigParam, String tradeNo) throws BusinessException;
}
